import request from '@/utils/request'

// 巡查记录统计（分页）
export function fetchPatrolRecordStats(params: any) {
  return request({
    url: '/api/patrol/record/stats',
    method: 'get',
    params
  })
}

// 巡查记录明细（分页）
export function fetchPatrolRecordDetail(params: any) {
  return request({
    url: '/api/patrol/record/list',
    method: 'get',
    params
  })
}

// 签到详情
export function fetchSignLog(params: any) {
  return request({
    url: '/api/patrol/record/sign-log',
    method: 'get',
    params
  })
} 